package com.ls.fw.search.solrj.support.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Annotation that defines a list of faceted fields.
 * This annotation will contain a list of {@link FacetField} annotations.
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface SearchMapping {

  FacetField[] facets();

  FullTextSearchField[] fulltextFields();
}
